<div class="accordion-group">
    <div class="accordion-heading">
        <a class="accordion-toggle" data-toggle="collapse" href="#<%= id %>" style="padding: 0px 0px 0px 0px;">
            <!--data-parent="#accordion2"-->
            <div class="row">
                <div class="span4">
                    <label class="control-label-small" >属性</label>
                    <p class="controls-text-small">name: String[1..2]</p>
                </div>
                <div class="span1-compact" style="padding-top: 5px;">
                    <!--
                    <span class="add-on remove-input" ><i class="icon-zoom-in"></i></span>
                    <span class="add-on remove-input" style="margin-left: 10px" ><i class="icon-trash"></i></span>
                    -->
                    <!--
                    <a class="icd-element-revive-1">详细</a>
                    <a class="icd-element-revive-1">删除</a>
                    -->
                    <!--
                    <span class="add-on remove-input" style="margin-left: 5px" ><i class="icon-plus"></i></span>
                    <span class="add-on remove-input" style="margin-left: 2px" ><i class="icon-arrow-up"></i></span>
                    <span class="add-on remove-input" style="margin-left: 2px" ><i class="icon-arrow-down"></i></span>
                    -->
                </div>
            </div>
        </a>
    </div>
    <div id="<%= id %>" class="accordion-body collapse" >
        <div class="accordion-inner " style="padding: 0px 0px 0px 0px;">
            <%- partial('icd-element-2',{type:"attr",lable:"名称",name:"1"}) %>
            <%- partial('icd-element-2',{type:"type",lable:"类型",name:"String"}) %>
            <%- partial('icd-element-2',{type:"multi",lable:"多重性",name:"123"}) %>
        </div>
        <!--<button class="btn btn-inverse controls-text-small icd-element-attribute-delete">删除</button>-->
    </div>
</div>

<script>
    $(function(){
        $(".icd-element-attribute-delete").live("click",function(){
            $(this).parent().parent().remove();
        });
    });
</script>

